package com.wjq.service;


import com.wjq.entity.ChoiceQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ChoiceQuestionService {

    List<ChoiceQuestion> getQuestions(Integer id);

    void updateQuestion(ChoiceQuestion choiceQuestion);

    void addQuestion(ChoiceQuestion choiceQuestion);

    int getQuestionId(ChoiceQuestion choiceQuestion);

    void deleteQuestopn(Integer id);

    ChoiceQuestion selectChoiceQuestion(Integer id);
}
